package com.bawei.module_video.home.model.api

import com.bawei.lib_net.entity.ResponseEntity
import com.bawei.module_video.home.model.entity.SimpleTypeEntity
import com.bawei.module_video.home.model.entity.VideoEntity


import retrofit2.http.GET
import retrofit2.http.Query

interface HomeApi {
    /**
     * 获取视频类型信息接口
     */
    @GET("/videotype/getSimpleType")
    suspend fun getSimpleType(): ResponseEntity<List<SimpleTypeEntity>>
    /*
    获得视频信息
     */
    @GET("/videosimple/getSimpleVideoByChannelId")
    suspend fun getVideo(@Query("channelId")channelId:String,@Query("page")page:Int,@Query("pagesize")pagesize:Int): ResponseEntity<List<VideoEntity>>

}